package com.internal.datamodel;


import java.util.List;

import com.persistances.entities.Song;

public class NodeSong {

	private NodeAlbum nodeAlbum;
	private List<Song> entitiesSong;
	public NodeAlbum getNodeAlbum() {
		return nodeAlbum;
	}
	public void setNodeAlbum(NodeAlbum nodeAlbum) {
		this.nodeAlbum = nodeAlbum;
	}
	public List<Song> getEntitiesSong() {
		return entitiesSong;
	}
	public void setEntitiesSong(List<Song> entitiesSong) {
		this.entitiesSong = entitiesSong;
	}
	
	@Override
	public String toString(){
		StringBuffer buff = new StringBuffer();
		for (Song song : entitiesSong) {
			buff.append("Title Song :"+song.getTitle()+"\n");
		}
		return buff.toString();
	}
}
